FROM java:8-alpine
MAINTAINER qingshanking@vip.qq.com
RUN mkdir -p /app
WORKDIR /app
EXPOSE 23511
ADD ./target/platform-server-dev-1.0.2305.zip .
RUN unzip platform-server-dev-1.0.2305.zip
RUN mv platform-server-dev-1.0.2305/* /app
RUN chmod +x /app/bin/startup.sh
#CMD ["/app/bin/startup.sh"]
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/app/boot/platform-server-dev-1.0.2305.jar"]